package com.yw.common.core.db.dao.impl;

import java.lang.reflect.Method;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.yw.common.core.db.IDBConnection;
import com.yw.common.core.db.dao.entity.IPo;
import com.yw.common.core.db.exception.DBCloseException;
import com.yw.common.core.db.test.entity.PoStudent;
import com.yw.common.core.util.DbUtil;
import com.yw.common.core.util.StringUtil;

/**
 * 数据库更新dao实现抽象类
 * @author aoshiguchen
 * @time 2015-12-03
 */

public abstract class AbstractUpdateDaoImpl implements IUpdateDaoImpl{
	protected  Map<String,Class> fieldSet = null;
	protected  String tbName = "";
	
	public AbstractUpdateDaoImpl(){
		
	}
	
	public AbstractUpdateDaoImpl(String tbName){
		this.tbName = tbName;
	}
	
	@Override
	public List<IPo> findAll() {
		
		return null;
	}

	@Override
	public IPo findById(String id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<IPo> findMulti(IPo po) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<IPo> findMulti(IPo po, Set<String> filterField) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IPo findSingle(String id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IPo findSingle(IPo po) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IPo findSingle(IPo po, Set<String> filterField) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IPo create(IPo po) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IPo create(IPo po, Set<String> filterField) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean update(IPo po) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean update(IPo po, Set<String> filterField) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean delete(IPo po) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean delete(IPo po, Set<String> filterField) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean deleteById(String id) {
		// TODO Auto-generated method stub
		return false;
	}
	
	@Override
	public Map<String, Class> getFieldSet() {
		
		return null;
	}

	public String getTbName() {
		return tbName;
	}

	public void setTbName(String tbName) {
		this.tbName = tbName;
	}
}
